package com.jxdinfo.hussar.activitidemo.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.jxdinfo.hussar.activitidemo.bean.TdbYjMFlow;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2019-03-20
 */
public interface TdbYjMFlowMapper extends BaseMapper<TdbYjMFlow> {
	List<TdbYjMFlow> selectByCondition(Page page, TdbYjMFlow tdbYjMFlow);
	Integer selectCountByCondition(TdbYjMFlow tdbYjMFlow);
	void insertFlowInfo(TdbYjMFlow tdbYjMFlow);
	TdbYjMFlow selectFlowInfo(TdbYjMFlow tdbYjMFlow);
	void updateFlowInfo(TdbYjMFlow tdbYjMFlow);
	void deleteFlowInfo(TdbYjMFlow tdbYjMFlow);
	void updateFlowInfoStatus(TdbYjMFlow tdbYjMFlow);
	List<Map> selectApplyDept(@Param("term")String term);
	List<Map> selectYjsc(Page page,@Param("term")String term);
	Integer selectYjscCount(@Param("term")String term);
	List<Map> selectCkwj(Page page,@Param("term")String term);
	Integer checkFlowName(TdbYjMFlow tdbYjMFlow);
}
